From f22ec063a197c4f0af124aa44e7bdcc1c2add2dc Mon Sep 17 00:00:00 2001 From: Emmanuele Bassi Date: Mon, 28 Dec 2020 18:41:18 +0000 Subject: [PATCH] Fix the Vulkan header check for VK_RESULT_RANGE_SIZE The VK_RESULT_RANGE_SIZE enumeration value was removed in 1.2.140, not 1.2.142. Fixes: #3522 --- gdk/gdkvulkancontext.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gdk/gdkvulkancontext.c b/gdk/gdkvulkancontext.c index a561476dce..13ba8dae8b 100644 --- a/gdk/gdkvulkancontext.c +++ b/gdk/gdkvulkancontext.c @@ -225,7 +225,7 @@ gdk_vulkan_strerror (VkResult result) case VK_ERROR_PIPELINE_COMPILE_REQUIRED_EXT: return "A requested pipeline creation would have required compilation, but the application requested compilation to not be performed."; #endif -#if VK_HEADER_VERSION < 142 +#if VK_HEADER_VERSION < 140 case VK_RESULT_RANGE_SIZE: #endif case VK_RESULT_MAX_ENUM: -- 2.30.2